package com.hong.concurrent.chapter5;

/**
 * @Author csh
 * @Description
 * @Date 2018/6/30 20:40
 */
public class Client {
    public static void main(String[] args) {
        Gate gate  =new Gate();
        User bj = new User("baobao","bj",gate);
        User sz = new User("sh","sz",gate);
        User sh = new User("ym","sh",gate);

        bj.start();
        sh.start();
        sz.start();
    }
}
